﻿namespace NetFx.SMIL.Definitions
{
  using System;
  using System.Text;
  using System.Collections;

  using System.Reflection;
  using System.Reflection.Emit;
  using System.Runtime.InteropServices;

  using System.Diagnostics;
  using System.Diagnostics.CodeAnalysis;
  using System.Diagnostics.SymbolStore;
  using System.Security;
  using System.Security.Permissions;

  using NetFx.MSIL;
  using NetFx.MSIL.Headers;


  public class EnumDefinition : ComplexDefinition
  {
    #region Statics
    public static EnumDefinition of(string name)
    {
      return new EnumDefinition(name);
    }
    #endregion
    #region Fields
    protected string underlingType = string.Empty;
    protected string typeAttributes = string.Empty;
    #endregion
    #region Properties
    public virtual EnumHeader InstanceHeader
    {
      get
      {
        return this.header as EnumHeader;
      }
    }
    public virtual string UnderlingType
    {
      get
      {
        return this.underlingType;
      }
      set
      {
        this.underlingType = value;
      }
    }
    public virtual string TypeAttributes
    {
      get
      {
        return this.typeAttributes;
      }
      set
      {
        this.typeAttributes = value;
      }
    }
    #endregion
    #region Constructors
    public EnumDefinition(string name):this(EnumHeader.of(name))
    {

    }
    public EnumDefinition(EnumHeader header)
      : base(header)
    {

    }
    #endregion
    #region Methods
    protected override void Resolve(ComplexDefinition container)
    {
      
    }
    #endregion
  }

}